import { lazy } from 'react'

let List = lazy(() => import('../pages/list'))
let Detail = lazy(() => import('../pages/detail'))

export let routers = [
  {
    path: "/",
    element: <List></List>
  },
  {
    path: "/detail",
    element: <Detail></Detail>
  }
]